using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NTTHAO.Web.BL.Rss;
using NTTHAO.CommonWeb;

public partial class admin_webparts_Plug_ins_RssNews_RssMenuList : System.Web.UI.UserControl
{
    public RssPageGroup _Group = null;

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            int siteID = WebGlobal.GetSite().ID;
            int langID = LanguageUtility.GetLanguageID();

            _Group = new RssPageGroup(Convert.ToInt32(Request.QueryString["g"].Trim()));
            if (_Group.ID < 1)
            {
                _Group = null;
                throw new Exception("This function is not available.");
            }
            //_List = RssMenu.GetAll(_Group.ID, -1, -1);
        }
        catch (Exception ex)
        {
            HtmlGenericControl ctrl = new HtmlGenericControl("div");
            ctrl.InnerHtml = "<p>" + ex.Message + "</p><p>" + ex.StackTrace + "</p>";
            this.Controls.Add(ctrl);
        }
    }
}
